package com.fortune.dto.in.cReturnDeposit;

import com.fortune.dto.in.returnDeposit.EditDto;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;

import java.util.List;

public class CReturnDepositEditDto {
    @NotBlank
    @ApiModelProperty(example="工单id")
    private String returnDepositId;
    @NotBlank(message="经销商不能为空")
    @ApiModelProperty(example="经销商id")
    private String did;
    private List<EditDto> editDtos;

    public String getReturnDepositId() {
        return returnDepositId;
    }

    public void setReturnDepositId(String returnDepositId) {
        this.returnDepositId = returnDepositId;
    }

    public String getDid() {
        return did;
    }

    public void setDid(String did) {
        this.did = did;
    }

    public List<EditDto> getEditDtos() {
        return editDtos;
    }

    public void setEditDtos(List<EditDto> editDtos) {
        this.editDtos = editDtos;
    }

    @Override
    public String toString() {
        return "CReturnDepositEditDto{" +
                "returnDepositId='" + returnDepositId + '\'' +
                ", did='" + did + '\'' +
                ", editDtos=" + editDtos +
                '}';
    }
}
